package com.xmy.cultivate.entity.request;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AiSitePc {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("场地id")
    private Long schoolSiteId;

    @ApiModelProperty("标识码")
    private String markCode;

    @ApiModelProperty("编号")
    private String num;

    @ApiModelProperty("电脑状态：1正常，2维修中，3报废")
    private Integer status;

    @ApiModelProperty("使用状态：0空闲，1待使用，2使用中，3退出")
    private Integer useStatus;

    @ApiModelProperty("使用学生id")
    private Long useStudentId;

    private LocalDateTime allotDateTime;

    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("使用学生姓名")
    @TableField(exist = false)
    private String studentName;

    @ApiModelProperty("电脑总数")
    @TableField(exist = false)
    private Integer sumCount;

    @ApiModelProperty("使用中的数量")
    @TableField(exist = false)
    private Integer inUseCount;

    @ApiModelProperty("待使用的数量")
    @TableField(exist = false)
    private Integer waitUseCount;

    @ApiModelProperty("空闲的数量")
    @TableField(exist = false)
    private Integer spareCount;

    @ApiModelProperty("维修的数量")
    @TableField(exist = false)
    private Integer repairCount;

    @ApiModelProperty("所属大校区")
    @TableField(exist = false)
    private String schoolName;

    @ApiModelProperty("场地")
    @TableField(exist = false)
    private String schoolSiteName;

    @ApiModelProperty("1：空闲添加 2：结束使用 3：换机")
    @TableField(exist = false)
    private Integer type;



    @TableField(exist = false)
    private String signCode;

    @ApiModelProperty("排班id")
    private Long schedulingDetailId;

    private LocalDateTime kickOutTime;

    private Integer schedulingType;


    @TableField(exist = false)
    private LocalDateTime inDateTime;

    @ApiModelProperty("维修原因")
    @TableField(exist = false)
    private String reason;

    @ApiModelProperty("操作id")
    @TableField(exist = false)
    private Long createdId;
}
